package com.ww.yaodao.model.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("tb_user")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDO {
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "用户状态 （1 锁定 2 正常 3 已注销）")
    private Integer utype;
    @ApiModelProperty(value = "用户权限 （1 店员  2 店长 ）")
    private Integer uauthority;
    @ApiModelProperty(value = "用户id")
    private Integer uid;
    @ApiModelProperty(value = "所属商店id")
    private Integer aid;
    @ApiModelProperty(value = "身份证")
    private String identifyCard;
    @ApiModelProperty(value = "家庭住址")
    private String uaddress;
    @ApiModelProperty(value = "员工评分 1-5")
    private Integer urate;
}
